package com.misty.fly_weight.client1;

public class Manager implements Employee {
    @Override
    public void report() {
        System.out.println(reportContent);
    }

    private String tittle = "部门经理"; //内部状态，属于实体类本身，外部无法改变

    private String department; //外部状态，外部参数需要传入

    private String reportContent;

    public void setReportContent(String reportContent) {
        this.reportContent = reportContent;
    }

    public Manager(String department) {
        this.department = department;
    }

}
